/**
 * NoPermissionException.java 
 * Copyright © 2014-2016, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2015年6月1日
 */
package com.pshare.framework.exception;

import com.pshare.enums.CodeMsg;


/**
 * 无权限Exception
 */
public class NoPermissionException extends SeaxRuntimeException {

	private static final long serialVersionUID = -1599232983986664467L;
	private final static Integer code = CodeMsg.NO_PERMISSION.getCode();

	public NoPermissionException() {
		super();
	}

	public NoPermissionException(String message) {
		super(message);
	}

	public NoPermissionException(Throwable cause) {
		super(cause);
	}

	public NoPermissionException(String message, Throwable cause) {
		super(message, cause);
	}
	
	public Integer getCode() {
		return code;
	}
	
}
